app.controller('confirmAgain', function($element, ngDialog ,$scope, $state, rest, user,uploadConf,tipService,uiLoad,$localStorage) {
    var data = angular.copy($scope.ngDialogData, {});

    $scope.params = {};
    $scope.params2 = {};



    //点击确定按钮
    $scope.modifySure = function() {
      console.log(data.decorateId);
      $scope.closeThisDialog({clickOk: true});
      // rest.post({
      //     methodId: '4036',
      //     data: {'decorateId': decorateId},
      //     success: function(res) {
      //         if (res.code == 0) {
      //             btn.text('分期业务申请中');
      //         } else {
      //             btn.removeClass('disabled');
      //         }
      //     },
      //     error: function() {
      //         btn.removeClass('disabled');
      //     }
      // })
    }

});